package day6;

import java.io.FileWriter;
import java.io.IOException;

/**
 * @author oldliu
 * @since 1.0
 */
public class FileWriterTest {
    public static void main(String[] args) {
        try {
            FileWriter fw=new FileWriter("F:/java76/list.txt");
            fw.write(21016);
            fw.write("We change lives!");
            fw.write("\n");
            fw.write("教育改变生活");
            fw.close();
            System.out.println("换行");
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
